const { defineConfig } = require('@vue/cli-service')

module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave: false,
  chainWebpack: config => {
    config.module
      .rule('json')
      .test(/\.json$/)
      .use('json-loader')
      .loader('json-loader')
      .end()
  },    
  css: {
    loaderOptions: {
      scss: {
        // 在这里放置你的SCSS选项
        additionalData: `@import "@/assets/css/index.scss";`
      }
    }
  }
})  
